package com.example.demo.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author luolinila
 */
@Data
public class LearnAndReviewForm {
    @JsonProperty("USER_ID")
    private Integer userId;
    @JsonProperty("BOOK_NAME")
    private String bookName;
    @JsonProperty("WORD_ID")
    private Integer wordId;

    public LearnAndReviewForm(Integer userId, String bookName, Integer wordId) {
        this.userId = userId;
        this.bookName = bookName;
        this.wordId = wordId;
    }
}
